package com.kaibo.retrofit;

import org.springframework.context.annotation.Import;
import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;

/**
 * @author: kaibo
 * @date: 2021/1/13 18:25
 * @GitHub: https://github.com/yuxuelian
 * @qq: 568966289
 * @description:
 */


@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
@Import(RetrofitClientScannerRegistrar.class)
public @interface EnableRetrofitClient {

    @AliasFor("basePackages")
    String[] value() default "";

    @AliasFor("value")
    String[] basePackages() default "";

}
